package io.sage.modules.basics.service;

import java.util.List;
import java.util.Map;

import io.sage.modules.basics.entity.BGoodsArea;

public interface BGoodsAreaService {
    /**
     * 货区列表
     * @param params
     * @return
     */
    List<BGoodsArea> selectGoodsAreaList(Map<String, Object> params);
    /**
     * 批量删除
     * @param ids
     * @return
     */
	int deleteBatchIds(Integer[] ids);
	
	BGoodsArea selectByPrimaryKey(Integer id);
	
	int insert(BGoodsArea goodsArea);
	
	int updateByPrimaryKeySelective(BGoodsArea goodsArea);

	List<BGoodsArea> selectIsUse(Integer[] ids);

    List<BGoodsArea> getTreeList(Map<String, Object> params);
}
